package com.ai.service.made;

import com.ai.entity.made.CoalRoutingInspection;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiaok
 * @since 2024-10-28
 */
public interface ICoalRoutingInspectionService extends IService<CoalRoutingInspection> {

    /**
     * 根据摄像头功能绑定关系，获取对应的巡检参数
     * @param cameraFunctionId 关系id
     * @return
     */
    List<CoalRoutingInspection> getRoutingInspectionListRelationId(Integer cameraFunctionId);

    /**
     * 获取指定摄像头指定班次的结束时间
     *
     * @param cameraId  摄像头id
     * @param functionType 功能type
     * @param sequence 巡检班次
     * @return 班次结束时间
     */
    String getRoutingEndTimeStr(String cameraId, String functionType, String sequence);

}
